{* Smarty *}

<div id="main_header">{$command}</div>
{if !empty($msg)}
	<center><div id="error"><tt>{$msg}</tt></div></center>
{/if}
{if isset($smarty.session.uid) }
<ul class="primary">
  <li{if isset($tab1) } class="active"{/if}><a href="/user/home/">{t}Home{/t}</a></li>
  <li{if isset($tab2) } class="active"{/if}><a href="/user/home/info">{t}Info{/t}</a></li>
  <li{if isset($tab3) } class="active"{/if}><a href="/user/home/exit">{t}Sign Out{/t}</a></li>
</ul>
{else}
<ul class="primary">
  <li{if isset($tab1) } class="active"{/if}><a href="/user/login">{t}Sign In{/t}</a></li>
  <li{if isset($tab2) } class="active"{/if}><a href="/user/signup">{t}Sign Up{/t}</a></li>
  <li{if isset($tab3) } class="active"{/if}><a href="/user/password">{t}Password Recovery{/t}</a></li>
</ul>
{/if}
<div id="tabs">
{include file="$command_tpl"}
</div>